<template>
  <HomeHeader/>
  <router-view/>
  
  <!-- 首页底部 -->
  <HomeFooter v-if="route.path === '/home'"/>
  
  <!-- 需要特殊底部的页面 -->
  <HomeFooterDetail v-else-if="route.meta.needDetailFooter"/>
  <icp v-else-if="route.meta.needicpFooter"/>

  
  <!-- 其他页面的默认底部（可选） -->
  <!-- <DefaultFooter v-else/> -->
</template>

<script setup>
import { useRoute } from 'vue-router'
import HomeFooter from "../components/HomeFooter.vue";
import HomeHeader from "../components/HomeHeader.vue";
import HomeFooterDetail from "../components/HomeFooterDetail.vue";
import icp from "../components/icp.vue";

const route = useRoute()
</script>